# from setting import *
import requests
# params = {
#             "rfids":"'e280f30200000000714d8941','e280f30200000000714d8ce9'"
#         }

# r = requests.get(GOODS_INFO_API, params=params)

# print(r.json())

url = "https://vending.nsenz.cn/vending/sys/common/static/temp/新享绿茶_1708649462991.jpg"
with open('x.jpg', 'wb') as f:

    response = requests.get(url)

    f.write(response.content)